#ifndef __air780e_common_h__
#define __air780e_common_h__

#include "PikaObj.h"
// #include "../PikaStdDevice/pika_hal.h"
#include "RTE_Device.h"
#include <stdint.h>
#include "platform_define.h"
#include "gpio.h"
#include "luat_base.h"
#include "FreeRTOS.h"
#include "PikaVM.h"
#include "pika_hal.h"
#include "luat_debug.h"
#include <math.h>
#include <limits.h>
#include "dataStrs.h"

#define FTOA_MAX_LENGTH (100 * sizeof(char))

int air780e_pin_name_to_id(char* pin);
uint32_t getPinMode(char* mode);
uint8_t GPIO_enable_clock(char* pin);
uint8_t GPIO_disable_clock(char* pin);
char* float_to_string(double value, int precision);
#endif
